﻿@model IEnumerable<Developer.Entity.RepairModel>

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="mui-card">
    <ul class="mui-table-view">
        @foreach(var item in Model.OrderBy(a=>a.Sequence))
        {
        <li class="mui-table-view-cell mui-collapse">
            <a class="mui-navigate-right">@item.Name</a>
            <ul class="mui-table-view">
                @foreach(var color in item.RepairColor)
                {
                <li class="mui-table-view-cell">
                    <a class="mui-navigate-right" href="/fix/SelectProblem?mid=@(color.Id)">@color.Name</a>
                </li>

                }
                
            </ul>
        </li>

        }
        
    </ul>

</div>



<script>

        mui.init({
            swipeBack: true //启用右滑关闭功能
			});
			
</script>
